import React from 'react';
import { useHistory } from "react-router-dom";
import Btn from "../../components/btn/Btn";
import Txt from "../../components/txt/Txt";

import './history.less';
import img1 from '../../libs/img/histroy/1.png'



function History() {
  let history = useHistory();


  let add = () =>{
    history.push("/history/add");
  }

  return (
    <div className='v-history'>
      <div className='g-ta-c g-mt30'>
        <img src={img1} style={{width:215,height:102}} alt="img1"></img>
        <Txt className='g-mt30'>顾客在本院没有任何咨询\预约\就诊记录</Txt>
      </div>

      <div className='g-mt30'>
        <Btn type='primary' onClick={add}>新增</Btn>
      </div>
    </div>
  )
}

export default History;